<?php
namespace  app\common\model;

use think\Db;
use think\Model;

class ProjectWeekly extends BaseModel
{
    public function  project(){
        return $this->hasOne('project','id','project_id')->field('id,title,status as p_statsus');
    }
}